package com.rc.evcharger.common.constant.level;

import com.rc.evcharger.common.constant.SocketConstant;

/**
 * Create by Yang on 2019/4/12
 *
 * 用户等级常用常量
 */
public class UserLevelConstant {

    public static final String SERVICE_CODE_LEVEL = "LEVEL";    //会员价
    public static final String SERVICE_CODE_SVIP = "SVIP";      //超级会员
    public static final String SERVICE_CODE_CARD = "CARD";      //刷卡
    public static final String SERVICE_CODE_EINVOICE = "EINVOICE";//发票

    //不统一字段
    public static final String SERVICE_CODE_L = "L";    //会员等级
    public static final String SERVICE_CODE_V = "V";      //超级会员



    //用户等级
    public static final String PROMOTEWAY_DEVELOP = SocketConstant.STR_CON1;  //用户等级的成长方式 : 养成
    public static final String PROMOTEWAY_DEVELOP_SHOP = SocketConstant.STR_CON3;  // 养成 + 购买

    public static final String STATUS_NORMAL = SocketConstant.STR_CON1;  // 状态1正常
    public static final String STATUS_DEL = SocketConstant.STR_CON0;  // 状态0删除

    public static final String POLICY_MEMBER_TYPE_TOTAL = SocketConstant.STR_CON0;//全部用户
    public static final String POLICY_MEMBER_TYPE_PERSON = SocketConstant.STR_CON1;//指定用户
    public static final String POLICY_MEMBER_TYPE_ENTERPRISE = SocketConstant.STR_CON2;// 2企业用户


    // 用户等级的记录
    public static final String IS_SHOP = SocketConstant.STR_CON1;  //  用户等级记录：购买
    public static final String NOT_IS_SHOP = SocketConstant.STR_CON0; //用户等级记录：养成

    // 用户等级的记录
    public static final String LEVEL_TYPE_VIP = SocketConstant.STR_CON1;  //  普通用户等级
    public static final String LEVEL_TYPE_SVIP = SocketConstant.STR_CON2; //超级用户等级


    //规则名称 1.每日登陆 2.实名认证 3.爱车认证 4.充电分享 5.充电量 charge_share
    public static final String RULE_TYPE_DAILY_LOGIN = SocketConstant.STR_CON1;  //  每日登陆/签到
    public static final String RULE_TYPE_MEMBER_AUTHENTICATION = SocketConstant.STR_CON2;  //  实名认证
    public static final String RULE_TYPE_VEHICLE_AUTHENTICATION = SocketConstant.STR_CON3;  //  爱车认证
    public static final String RULE_TYPE_CHARGE_SHARE = SocketConstant.STR_CON4;  //  每日充电分享
    public static final String RULE_TYPE_CHARGE_POWER = SocketConstant.STR_CON5;  //  充电量

    //登出状态
    public static final String LOGIN_IN = SocketConstant.STR_CON1;  //  登入
    public static final String LOGIN_OUT = SocketConstant.STR_CON0;  //  登出

    //优惠类型, 0服务费打折 1 特定服务费（活动价） 2总价打折 默认0
    public static final String DISCOUNT_TYPE_SERVICE = SocketConstant.STR_CON0;  //服务费折扣
    public static final String DISCOUNT_TYPE_ACTIVITY = SocketConstant.STR_CON1;  //特定服务费（活动价）
    public static final String DISCOUNT_TYPE_TOTAL = SocketConstant.STR_CON2;  //总价打折
    public static final String APPOINT_TYPE_TOTAL = SocketConstant.STR_CON3;  //总价打折

    //无效优惠
    public static final int INVALID_DISCOUNT = -0x01;
    //活动电价,一口价
    public static final int ACTIVITY_PRICE = 0x01;
    //活动电价,一口价
    public static final int ALL_SERVICE_RELIEF = 0x02;
    //特定服务费折扣
    public static final int SPECIFIC_SERVICE_RELIEF = 0x03;
    //会员等级折扣
    public static final int USER_LEVEL_PRICE = 0x04;
    //企业VIP折扣
    public static final int ENTERPRISE_VIP = 0x05;
    //超级用户等级折扣
    public static final int USER_LEVEL_PRICE_SVIP = 0x06;
    //活动优惠价
    public static final int ACTIVITY_DISCOUNT_PRICE = 0x07;
    //互联互通折扣价
    public static final int HLHT_DISCOUNT_PRICE = 0x08;
    //专享活动价(个人、企业钱包都可使用，优先级最高)
    public static final int APPOINT_DISCOUNT_PRICE = 0x09;
    //优惠券
    public static final int TICKET = 0x30;
    //红包
    public static final int RED_PACKET = 0x40;
    //等级积分
    public static final int POWER_EMIRICALVALUE = 0x50;


    //无效优惠  0整单满减优惠券 1服务费满减优惠卷 2充电满折 3服务器满折 4代金券
    public static final int RC_INVALID_DISCOUNT = -0x01;
    //生日免单
    public static final int RC_BIRTHDAY_FREE_ORDER = 0x05;
    //生日礼遇减免
    public static final int RC_BIRTHDAY_DISCOUNT = 0x06;
    //会员优惠
    public static final int RC_RECHARGE_DISCOUNT = 0x07;
    //权益金
    public static final int RC_GIVE_AMOUNT_DISCOUNT = 0x08;
    //企业优惠
    public static final int RC_ENTERPRISE_RECHARGE_DISCOUNT = 0x09;
    //满减活动
    public static final int RC_MARKET_ACTIVITY_SUB = 0x0A;
}
